package org.example.excel;

import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.util.CellRangeAddress;
import org.rcy.framework.file.excel.StyleCallBack;

/**
  *@Description
  *@author 吴康桥
  *@date 2022/12/13 11:14
  */

public class TestExcelStyleCallBack implements StyleCallBack<Sheet> {
    @Override
    public void callBack(Sheet t) {
        CellRangeAddress region = new CellRangeAddress(0, 1, 0, 1);
        t.addMergedRegion(region);
    }
}
